package com.aspose.cells;

class zbtu implements zaih {
   private zalw b;
   private zbtw c;
   private double d;
   private boolean e;
   private boolean f;
   private double g;
   private double h;
   private boolean i;
   private String j;
   private int k;
   private int l;
   private int m;
   private zpu n;
   private double[] o;
   private double p;
   private boolean q = false;
   private zbam r = new zbam();
   private int s;
   private boolean t = false;
   com.aspose.cells.b.a.b.zo a = com.aspose.cells.b.a.b.zo.a();
   private boolean u = false;

   zbtu(zig var1, zbtw var2) {
      this.b = new zalw(var1, 19);
      this.c = var2;
      this.d = 0.0D;
      this.e = false;
      this.f = false;
      this.g = 0.0D;
      this.h = 0.0D;
      this.i = false;
      this.j = "";
      this.k = 2;
      this.l = 2;
      this.m = 0;
      this.n = new zpu(var1, this, 16);
   }

   zbtw c() {
      return this.c;
   }

   zalw d() {
      return this.b;
   }

   public zahf a() {
      return this.b;
   }

   public double e() {
      return this.d;
   }

   public void a(double var1) {
      this.d = var1;
   }

   public boolean f() {
      return this.e;
   }

   public void a(boolean var1) {
      this.e = var1;
   }

   public boolean g() {
      return this.f;
   }

   public void b(boolean var1) {
      this.f = var1;
   }

   public double h() {
      return this.g;
   }

   public void b(double var1) {
      this.g = var1;
   }

   public double i() {
      return this.h;
   }

   public void c(double var1) {
      this.h = var1;
      this.q = true;
   }

   boolean j() {
      return this.q;
   }

   public boolean k() {
      return this.i;
   }

   public void c(boolean var1) {
      this.i = var1;
   }

   public String l() {
      if (this.k()) {
         zbcq var1 = this.c.a();
         switch(this.q()) {
         case 0:
            return "Expon.(" + var1.i() + ")";
         case 1:
            return "Linear(" + var1.i() + ")";
         case 2:
            return "Log.(" + var1.i() + ")";
         case 3:
            return this.l + " per. Mov. Avg.(" + var1.i() + ")";
         case 4:
            return "Poly.(" + var1.i() + ")";
         case 5:
            return "Power(" + var1.i() + ")";
         default:
            return "";
         }
      } else {
         return this.j;
      }
   }

   public void a(String var1) {
      this.j = var1;
      this.c(false);
   }

   public zahq m() {
      return this.r;
   }

   boolean n() {
      return this.r.getCount() > 0;
   }

   public int o() {
      return this.k;
   }

   public void a(int var1) {
      this.k = var1;
   }

   public int p() {
      return this.l;
   }

   public void b(int var1) {
      this.l = var1;
   }

   public int q() {
      return this.m;
   }

   public void d(int var1) {
      this.m = var1;
   }

   zpu r() {
      return this.n;
   }

   public zagn b() {
      return this.n;
   }

   double[] s() {
      return this.o;
   }

   void a(double[] var1) {
      this.o = var1;
   }

   double t() {
      return this.p;
   }

   void d(double var1) {
      this.p = var1;
   }

   public int u() {
      return this.s;
   }

   public void c(int var1) {
      this.s = var1;
   }

   protected void finalize() throws Exception {
      this.d(false);
   }

   public void v() {
      this.d(true);
      com.aspose.cells.b.a.zg.a(this);
   }

   protected void d(boolean var1) {
      if (!this.u) {
         if (var1 && this.n != null) {
            this.n.E();
         }

         this.u = true;
      }

   }
}
